package com.fw.system.admin.mapper;

import java.util.List;
import com.fw.system.admin.domain.TbAmountLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 支出收益Mapper接口
 * 
 * @author xxx
 * @date 2021-12-03
 */
public interface TbAmountLogMapper extends BaseMapper<TbAmountLog>
{
    /**
     * 查询支出收益
     * 
     * @param id 支出收益ID
     * @return 支出收益
     */
    public TbAmountLog selectTbAmountLogById(String id);

    /**
     * 查询支出收益列表
     * 
     * @param tbAmountLog 支出收益
     * @return 支出收益集合
     */
    public List<TbAmountLog> selectTbAmountLogList(TbAmountLog tbAmountLog);

    /**
     * 新增支出收益
     * 
     * @param tbAmountLog 支出收益
     * @return 结果
     */
    public int insertTbAmountLog(TbAmountLog tbAmountLog);

    /**
     * 修改支出收益
     * 
     * @param tbAmountLog 支出收益
     * @return 结果
     */
    public int updateTbAmountLog(TbAmountLog tbAmountLog);

    /**
     * 删除支出收益
     * 
     * @param id 支出收益ID
     * @return 结果
     */
    public int deleteTbAmountLogById(String id);

    /**
     * 批量删除支出收益
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTbAmountLogByIds(String[] ids);
}
